<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [     <!ENTITY nbsp "&#160;">  ]>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	template="/WEB-INF/template/default.xhtml">
	
<ui:define name="content">
        <f:view>
        	<h:form>
        		<h:panelGrid columns="2">
        			<h:outputLabel for="usrname" value="User Name" />
        			<h:inputText id="usrname" value="#{registerController.userName}" />
        			
        			<h:outputLabel for="pwd" value="Password" />
        			<h:inputText id="pwd" value="#{registerController.password}" />
        			
        			<h:outputLabel for="pwd2" value="Password Again" />
        			<h:inputText id="pwd2" value="#{registerController.password2}" />
        			
        			<h:outputLabel for="address" value="Address" />
        			<h:inputText id="address" value="#{registerController.address}" />
        			
        			<h:outputLabel for="age" value="Age" />
        			<h:inputText id="age" value="#{registerController.age}" />
        			
        		</h:panelGrid>
        		<h:commandButton value="Register" action="#{registerController.register}" />
        	</h:form>
        </f:view>
</ui:define>

</ui:composition>